#define _CRT_SECURE_NO_WARNINGS 1

#include"stack.h"


void test1()
{
	ST st;
	StackInit(&st);
	StackPop(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	StackPush(&st, 7);

	//printf("%d\n", ((st.a)[StackTop(&st)]));
	printf("%d\n", StackTop(&st));
	StackDestroy(&st);
}
int main()
{

	test1();



	return 0;
}